
export let columns = [
  {
    title: '不合格原因编号',
    dataIndex: 'nonconformityCode',
    ellipsis: true,
    fixed: 'left',
    width: 350,
    sorter: true,
    scopedSlots: {
      // filterDropdown: 'searchDropdown',
      // filterIcon: 'searchIcon',
      // customRender: 'nonconformityCode',
    },
  },
  {
    title: '不合格原因名称',
    dataIndex: 'nonconformityDescribe',
    ellipsis: true,
    fixed: 'left',
    width: 180,
    searchIndex: 'nonconformityDescribe',
    options: [],
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'nonconformityDescribe',
    },
  },

  {
    title: '备注',
    dataIndex: 'nonconformityNotes',
    ellipsis: true,
    width: 180,

    scopedSlots: {
      // filterDropdown: 'selectDropdown',
      // filterIcon: 'dateIcon',
      // customRender: 'inventornonconformityNotesyType',
    },
  },
]
export let allColumn = [
  {
    title: '不合格原因编号',
    dataIndex: 'nonconformityCode',
    ellipsis: true,
    fixed: 'left',
    width: 200,
    sorter: true,
    scopedSlots: {
      // filterDropdown: 'searchDropdown',
      // filterIcon: 'searchIcon',
      // customRender: 'nonconformityCode',
    },
  },
  {
    title: '不合格原因名称',
    dataIndex: 'nonconformityDescribe',
    ellipsis: true,
    fixed: 'left',
    width: 180,
    searchIndex: 'nonconformityDescribe',
    options: [],
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'nonconformityDescribe',
    },
  },

  {
    title: '备注',
    dataIndex: 'nonconformityNotes',
    ellipsis: true,
    width: 180,

    scopedSlots: {
      // filterDropdown: 'selectDropdown',
      // filterIcon: 'dateIcon',
      // customRender: 'inventornonconformityNotesyType',
    },
  },
]